github.com/0chain/gosdk@v1.17.11/docs/uml/finalize allocation.puml (about)

     1  @startuml
     2  participant "<size:20><&terminal></size> ./zbox alloc-fini" as cli
     3  collections gosdk
     4  
     5  cli -> cli: check allocation should not be finalized
     6  cli -> gosdk: FinalizeAllocation(allocID)
     7  
     8  gosdk -> gosdk: check initialized sdk
     9  gosdk -> gosdk: create smart contract txn data
    10  gosdk -> gosdk: send smart contract txn
    11  gosdk -> cli: return txn hash
    12  @enduml